package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 数据字典表实体类
 */
@Data
@TableName("dict_item")
public class DictItemEntity {
    @TableId(type = IdType.AUTO)
    private Integer dictionaryId;

    private String objectName;

    private Integer objectType;

    private String description;

    private String dataType;

    private Integer isNullable;

    private Integer isIndex;

    private String indexType;

    private String constraint;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}
